package dominio.beans;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.Table;

@Entity
@Table (name = "Proveedores")
public class Proveedor implements Serializable{


	private static final long serialVersionUID = 1L;
	@Id
	@Column (name = "CUIL_CUIT")
	@ManyToMany
	(mappedBy = "idProducto")
	private String nroCuiL;
	@Column (name = "Empresa")
	private String razonSocial;
	
	
	public Proveedor() {
	
	}
	public Proveedor(String nroCuiL, String razonSocial) {
		super();
		this.nroCuiL = nroCuiL;
		this.razonSocial = razonSocial;
	}
	public String getNroCuiL() {
		return nroCuiL;
	}
	public void setNroCuiL(String nroCuiL) {
		this.nroCuiL = nroCuiL;
	}
	public String getRazonSocial() {
		return razonSocial;
	}
	public void setRazonSocial(String razonSocial) {
		this.razonSocial = razonSocial;
	}
	
	
}
